import { post, postWithLoadTip } from '@/utils/request';

export function register(data: any): any {
  return postWithLoadTip(`/pxks-api/user/register`, data);
}

export function tree(): any {
  return post(`/pxks-api/user/department/tree`, undefined);
}
